<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>文字碎片</title>
    <link rel="stylesheet" href="../css/碎片.css" />
  </head>
  <body>
    <!-- 全屏固定背景视频 -->
    <div class="background-video">
      <video autoplay muted loop playsinline class="bg-video">
        <source src="../videos/首页视频.mp4" type="video/mp4" />
        <img src="../images/首页背景.jpg" alt="背景图备用" />
      </video>
    </div>

    <!-- 中间纯白内容容器 -->
    <div class="content-container">
      <div class="container">
        <!-- 标题 -->
        <div class="title-container">
          <!-- 返回按钮（小正方形图片，左侧留间距） -->
          <div class="back-btn">
            <img src="../images/返回.png" alt="返回上一页" class="back-img" />
          </div>
          <!-- 标题 -->
          <h1 class="page-title">文字碎片</h1>
        </div>

        <!-- 内容区域：图片 + 文字描述 -->
        <div class="content">
          <div class="image-container">
            <img src="../images/书卷.jpg" alt="书卷" class="square-image" />
          </div>
          <div class="text-content">
            <h2>一句刻在心上的感悟</h2>
            <p>写下你的旅途感悟吧！</p>
          </div>
        </div>

        <!-- 新增：文本输入区域 -->
        <div class="text-input-wrapper">
          <textarea
            id="textInput"
            class="text-input"
            placeholder="请输入你的旅途感悟"
            rows="5"
          ></textarea>
        </div>
        <!-- 确定按钮 -->
        <div class="confirm-container">
          <button id="confirmBtn" class="confirm-btn" disabled>确定</button>
        </div>
      </div>
    </div>

    <script src="../js/文字碎片.js"></script>
  </body>
</html>
